<template>
    <div class="index">
      <router-view />
      <!-- <div class="tabbar">
        <router-link to="/index/home">首页</router-link>
        <router-link to="/index/MainPage">爆爆团</router-link>
        <router-link to="/index/Moue">订单</router-link>
        <router-link to="/index/Mine">我的</router-link>
      </div> -->
      <van-tabbar v-model="active" route>
      <van-tabbar-item icon="home-o" to="/index/home">首页</van-tabbar-item>
      <van-tabbar-item icon="fire-o" to="/index/MainPage">爆爆团</van-tabbar-item>
      <van-tabbar-item icon="orders-o" to="/index/Moue">订单</van-tabbar-item>
      <van-tabbar-item icon="user-o" to="/index/mine">我的</van-tabbar-item>
    </van-tabbar>
    </div>
  </template>
  
  <script>
  
  export default {
    name: 'HomeView',
  data(){
    return {
      active:0
    }
  },
 
}
  </script>
  
  <style scoped>
  .tabbar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ccc;
    box-sizing: border-box;
    background-color: white;
  }
  </style>
  